package com.tm.pojo;

import java.util.List;

/**
 * @author xiaobai
 * @create 2022-12-27 17:07
 */
public class CitiesPojo {

    private Integer cityCode;

    private String cityName;

    private Integer cityType;

    private Boolean isCapital;

    private List<CountiesPojo> counties;

    public CitiesPojo() {
    }

    public CitiesPojo(Integer cityCode, String cityName, Integer cityType, Boolean isCapital, List<CountiesPojo> counties) {
        this.cityCode = cityCode;
        this.cityName = cityName;
        this.cityType = cityType;
        this.isCapital = isCapital;
        this.counties = counties;
    }

    public Integer getCityCode() {
        return cityCode;
    }

    public void setCityCode(Integer cityCode) {
        this.cityCode = cityCode;
    }

    public Boolean getCapital() {
        return isCapital;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getCityType() {
        return cityType;
    }

    public void setCityType(Integer cityType) {
        this.cityType = cityType;
    }

    public boolean isCapital() {
        return isCapital;
    }

    public void setCapital(Boolean capital) {
        isCapital = capital;
    }

    public List<CountiesPojo> getCounties() {
        return counties;
    }

    public void setCounties(List<CountiesPojo> counties) {
        this.counties = counties;
    }
}
